package com.alex.designPattern.observer.selfDefined;

public abstract class Observer {
	
	private String name;
	
	public void update(){
		System.out.println(this.name.concat(" is updated..."));
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
